﻿using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;

namespace Core
{
    public abstract class Selector<T>: Data<T>
    {
        public Selector<T> Select<TResult>(Expression<Func<T, TResult>> selector)
        {
            SetContext.SelectType = typeof(TResult);
            SetContext.SelectExpression = selector;
            return this;
        }
    }
}
